package ua.eug.airv1;

import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;

public class AirGame extends Game {
	
	private BattleScreen battleScreen;
	//private MenuScreen menuScreen;
	//private BodyScreen bodyScreen;

	@Override
	public void create() {
		
        ImageProvider.Load();
        battleScreen = new BattleScreen(this);
        
        // Stop rendering  ( http://bitiotic.com/blog/2012/10/01/enabling-non-continuous-rendering-in-libgdx/ )
        Gdx.graphics.setContinuousRendering(false);

        setScreen(battleScreen);
        
	}

	public void setBattleScreen() {
		this.setScreen(battleScreen);
	}

	
}
